package online.niuma.xiaocubao.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 一颗蛋50斤
 * IntelliJ IDEA
 */
@Data
@ApiModel("文章信息")
public class ArticleInfoVo {
    @ApiModelProperty("文章id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long articleId;
    @ApiModelProperty("文章标题")
    private String articleTitle;
    @ApiModelProperty("总结")
    private String articleSummary;
    @ApiModelProperty("作者")
    private String userNikename;
    @ApiModelProperty("创建时间")
    private String createTime;
}
